home *** CD-ROM | disk | FTP | other *** search
/ Paparazzi!: Tales of Tinseltown / Paparazzi - Tales of Tinseltown (1995)(Activision)(Disc 1 of 2).iso / pprazia2.dir / 00532_Script_HOTEL Skippy Go To < prev    next >
Text File  |  1995-05-21  |  759b  |  30 lines

  1. on mouseDown
  2.   put "GoTo" into f
  3.   put "GoToHL" into fHL
  4.   puppetSound "button.aif"
  5.   hiliter 23, f, fHL
  6. end 
  7.  
  8.  
  9.  
  10. on mouseUp
  11.   global gTheDay, theMovieName, payoffStart, payoffEnd,¼
  12.  whichPayOff, whichBuyer, gDayOrNight, gOneOrTwo
  13.   puppetsprite 48, false
  14.   turnOffDaycons
  15.   WhatDayIsIt
  16.   if gTheDay = "14N" and gOneOrTwo = 2 then
  17.     put "FugPayOff" into whichPayOff
  18.     put "EOG" into whichBuyer
  19.   else
  20.     put "PayOff" into whichPayOff
  21.     put "NoBuyers" into whichBuyer
  22.   end if
  23.   if gDayOrNight = "D" then put "SKDGRHAB.MOV" into theMovieName
  24.   if gDayOrNight = "N" then put "SKNGRHAB.MOV" into theMovieName 
  25.   set payoffStart = 0
  26.   set payoffEnd = 0
  27.   set the castNum of sprite 23 = cast "GoTo"
  28.   updatestage
  29.   richOrPoor
  30. end